package com.drivemanage.entry;

/**
 * 返回的实体类
 * @author Administrator
 *
 */
public class DriveResult {
	public final static String ERROR_CODE = "9999";
    public final static String SUCCESS_CODE = "0000";

    private String status; // 编码
    private String detail; // 描述
    private Object data; // 数据
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getDetail() {
		return detail;
	}
	public void setDetail(String detail) {
		this.detail = detail;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	public static String getErrorCode() {
		return ERROR_CODE;
	}
	public static String getSuccessCode() {
		return SUCCESS_CODE;
	}
	public DriveResult(String status, String detail, Object data) {
		super();
		this.status = status;
		this.detail = detail;
		this.data = data;
	}
	
	public DriveResult(){
		
	}
	@Override
	public String toString() {
		return "DriveResult [status=" + status + ", detail=" + detail
				+ ", data=" + data + "]";
	}
	
	
	
}
